package com.ma.gulimall.member.feign;

import com.ma.gulimall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 声明式远程调用，面向接口编程思想！
 * 1、接口注解   @FeignClient
 * 2、将被调用远程方法的完整签名写在接口中
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();

}
